package com.tz.dream.architect.mvp;

import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.tz.dream.architect.mvp.demo.LoginParcelableViewState;
import com.tz.dream.architect.mvp.framework.lce.MvpLceView;
import com.tz.dream.architect.mvp.framework.support.viewstate.lce.LceViewState;
import com.tz.dream.architect.mvp.framework.support.viewstate.lce.MvpLceViewStateActivity;
import com.tz.dream.architect.mvp.list.demo.bean.PostModel;
import com.tz.dream.architect.mvp.login.LoginPresenter;

/**
 * 作者: Dream on 2018/4/21 21:30
 * QQ:510278658
 * E-mail:510278658@qq.com
 */

public class LoginLceViewStateActivity extends MvpLceViewStateActivity<PostModel, MvpLceView<PostModel>, LoginPresenter> {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public LoginPresenter createPresenter() {
        return new LoginPresenter();
    }

    @NonNull
    @Override
    public LceViewState<PostModel, MvpLceView<PostModel>> createViewState() {
        return new LoginParcelableViewState();
    }

    @Override
    public PostModel getData() {
        return null;
    }

}
